#ifndef GETGAODEWEATHERCMD_H
#define GETGAODEWEATHERCMD_H
#include "Command/BaseCmd.h"
#include "Protocol/HttpProtocol.h"
#include <QObject>

class getGaoDeWeatherCmd: public BaseCmd
{
    Q_OBJECT
public:
     Q_INVOKABLE explicit getGaoDeWeatherCmd(QObject *parent = 0);


     enum{FunctionCode = HttpProtocol::getGaoDeWeather};
    Package toPackage();
    void unPackage(Package package);

    void setKey(QString key);
    QString key();


    QString getTemperature();
    QString getHumidity();

 private:
    QString m_key;
    QString m_temperature;
    QString m_humidity;


};

#endif // GETGAODEWEATHERCMD_H
